interface InterfaceObj {
  [key: string]: any;
}

// 图表数据的特征接口
interface interface_data {
  name: string | number;
  value: string | number;
  [key: string]: any;
}

// 图表的特征接口
interface interface_option {
  cWidth?: string | number,
  cHeight?: string | number,
  backgroundColor?: string,
  fontSize?: string | number,
  color?: string,
  cSpace?: number | Array<Number>,
  data?: InterfaceObj[],
  [key: string]: any;
}

// 坐标轴的特征接口
interface AxisInterface {
  name?: string,
  nameTextStyle?: InterfaceObj,
  axisLine?: InterfaceObj,
  axisTick?: InterfaceObj,
  axisLabel?: InterfaceObj,
  data?: Array<string> | Array<number>,
  [key: string]: any;
}


export {
  AxisInterface,
  InterfaceObj
}
